from django.db import models


# Create your models here.
# 由于Django的登陆方法集成度太高，只能只想默认的用户表，这里为了演示，自建一个管理员用户表
# python manage.py shell
# from no_5.models import Administrator
# Administrator.objects.create(username='ion',password='123')
class Administrator(models.Model):
    username = models.CharField(max_length=32)
    password = models.CharField(max_length=32)
